pub const HTTP_RESP_HEAD: &'static str = "resp";
pub const HTTP_RESP_OK: &'static str = "ok";
pub const HTTP_RESP_FAIL: &'static str = "fail";

pub const REMOTE_TYPE: &'static str = "type";
pub const REMOTE_SEQ: &'static str = "seq";
pub const REMOTE_CMD: &'static str = "cmd";
pub const REMOTE_EC: &'static str = "ec";

// attachment; filename=
pub const HTTP_FILE_NAME_HEAD: &'static str = "Content-Disposition";

pub const HTTP_DEVICE_SESSION_HEAD: &'static str = "device_token";
pub const HTTP_USER_SERSSION_HEAD: &'static str = "user_token";

pub const CBOR_REQUEST_MAX_SIZE: usize = 10 * 1024 * 1024;
